#include "Team.h"

Team::Team(std::string name, Proprio &proprio)
{
	_Name = name;
	_Proprio = proprio;
}

Team::~Team()
{

}

void		Team::add(Pokemon &newPoke)
{
	_Poke.push_back(newPoke);
}

void		Team::save()
{

}

void		Team::load()
{

}

std::string	Team::getName()
{
	return _Name;
}

void		Team::setName(std::string newName)
{
	_Name = newName;
}

Proprio &	Team::getProprio()
{
	return _Proprio;
}

void		Team::setProprio(Proprio & newPro)
{
	_Proprio = newPro;
}

void		Team::dumpTeam()
{
	std::list<Pokemon>::iterator	it;
	for (it=_Poke.begin(); it != Poke.end(); it++)
		std::cout << *it << std::endl;
}